import request from '@/utils/request'
/**
 * 专题
 */
const topicApi = {
	// 获取专题分类树
	topicCategory: async (limit) => {
		return  await request({
			url: `/app/course/topicCategory/tree?limit=${limit}`,
			method: 'GET'
		})
	},
	// 根据ID查询漫画列表
	pageCourseByTopicId: async (params) => {
		return  await request({
			url: `/app/course/topicCategory/pageCourseByTopicId`,
			method: 'GET',
			data:params
		})
	},
	
}

export default topicApi;